export default {
  namespaced: true,
  state() {
    return {
      userInfo: {
        avatar: '/static/ldh.jpg',
        nickName: '默',
        studentId: 28,
        phone: '19870635006',
        major: '电子与信息工程学院',
        collegeType:'',
        password: '1234',
        status: 0,
        integral: 0,
      },
      token: ''
    }
  },
  mutations: {
    updateUserInfo(state, obj) {
      state.userInfo = obj
    },
    updateToken(state, value) {
      state.token = value
    }
  },
  getters: {}
}